const barCode = {
    state: {
        code: localStorage.getItem('barCode'),
    },

    mutations: {
        SET_BARCODE: (state, code) => {
            state.code = code;
            localStorage.setItem("barCode", this.barCode);
        },
    },

}

export default barCode